package cn.seocoo.platform.advertisement.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.seocoo.platform.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 广告表 tb_advertisement
 * 
 * @author wujian
 * @date 2020-01-05
 */
public class Advertisement extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 主键Id */
	private Integer id;
	/** 用户表id */
	private Integer appUserId;
	/** 图片(多张图片用逗号分隔) */
	private String picturePath;
	/** 车型id */
	private Integer vehicleTypeId;
	/** 车辆分类 */
	private Integer categoryId;
	/** 价格(分) */
	private Integer amount;
	/** 车辆介绍 */
	private String content;
	/** 是否推荐(0:未推荐;1推荐) */
	private String isRecommend;
	/** 审核状态(0:待审核;1审核通过;2审核不通过) */
	private String auditStatus;
	/** 审核时间 */
	private Date auditTime;
	/** 审核原因 */
	private String auditReson;
	/** 删除状态：0正常，1删除 */
	private String delFlag;

	private String amountDto;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setAppUserId(Integer appUserId) 
	{
		this.appUserId = appUserId;
	}

	public Integer getAppUserId() 
	{
		return appUserId;
	}
	public void setPicturePath(String picturePath) 
	{
		this.picturePath = picturePath;
	}

	public String getPicturePath() 
	{
		return picturePath;
	}
	public void setVehicleTypeId(Integer vehicleTypeId) 
	{
		this.vehicleTypeId = vehicleTypeId;
	}

	public Integer getVehicleTypeId() 
	{
		return vehicleTypeId;
	}
	public void setCategoryId(Integer categoryId) 
	{
		this.categoryId = categoryId;
	}

	public Integer getCategoryId() 
	{
		return categoryId;
	}
	public void setAmount(Integer amount) 
	{
		this.amount = amount;
	}

	public Integer getAmount() 
	{
		return amount;
	}
	public void setContent(String content) 
	{
		this.content = content;
	}

	public String getContent() 
	{
		return content;
	}
	public void setIsRecommend(String isRecommend) 
	{
		this.isRecommend = isRecommend;
	}

	public String getIsRecommend() 
	{
		return isRecommend;
	}
	public void setAuditStatus(String auditStatus) 
	{
		this.auditStatus = auditStatus;
	}

	public String getAuditStatus() 
	{
		return auditStatus;
	}
	public void setAuditTime(Date auditTime) 
	{
		this.auditTime = auditTime;
	}

	public Date getAuditTime() 
	{
		return auditTime;
	}
	public void setAuditReson(String auditReson) 
	{
		this.auditReson = auditReson;
	}

	public String getAuditReson() 
	{
		return auditReson;
	}
	public void setDelFlag(String delFlag) 
	{
		this.delFlag = delFlag;
	}

	public String getDelFlag() 
	{
		return delFlag;
	}

	public String getAmountDto() {
		return amountDto;
	}

	public void setAmountDto(String amountDto) {
		this.amountDto = amountDto;
	}

	public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("appUserId", getAppUserId())
            .append("picturePath", getPicturePath())
            .append("vehicleTypeId", getVehicleTypeId())
            .append("categoryId", getCategoryId())
            .append("amount", getAmount())
            .append("content", getContent())
            .append("isRecommend", getIsRecommend())
            .append("auditStatus", getAuditStatus())
            .append("auditTime", getAuditTime())
            .append("auditReson", getAuditReson())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
